home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / shoot_em_in.swf / scripts / DefineSprite_136 / frame_89 / DoAction.as
Text File  |  2007-01-15  |  541b  |  14 lines

  1. v3DPoint = screenToWorld(_parent.mcgoal._x,_parent.mcgoal._y,_Yfloor,_Focale,_scale,_xoffset,_yoffset);
  2. v3DPoint2 = v3DPoint;
  3. vxgoal = v3DPoint.x;
  4. vygoal = v3DPoint.y;
  5. vzgoal = v3DPoint.z;
  6. vrgoal = v3DPoint.scale;
  7. vtestgoal = 0;
  8. v2DPoint = WorldToScreen(vxgoal,vygoal,vzgoal,_Focale,_scale,_xoffset,_yoffset);
  9. _parent.mcgoal.gotoAndStop("stand-up");
  10. _parent.mcgoal._x = v2DPoint.x;
  11. _parent.mcgoal._y = v2DPoint.y;
  12. _parent.mcgoal._xscale = v2DPoint.z * 2 * lplayerHeight;
  13. _parent.mcgoal._yscale = v2DPoint.z * 2 * lplayerHeight;
  14.